package com.huawei.org.mapper;


import com.huawei.basic.mapper.BaseMapper;
import com.huawei.org.domain.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper接口：员工
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    void delEmployeeRole(Long id);

    void addEmployeeRole(@Param("id") Long id,@Param("role_id") Long role_id);

    /**
     * 通过logininfoid查询审核人
     * @param id
     * @return
     */
    Employee loadByLogininfoId(Long id);

    List<Employee> list(Long shopId);
}
